package com.ynhenc.pta.routeRank;

public class Node extends Vertex {
	 
	
	public Node(double x, double y, String name) {
		super(x, y);
		this.name = name;
	}
	
	public Node(String name, double x, double y ) {
		this( x, y, name );
	}
	
	final public String getName() {
		return this.name;
	}
	
	final public boolean isNode() {
		return true;
	} 
	
	protected String getCode() {
		return "N:" + " name:" + this.name;
	} 
	
	private String name;
}
